package com.wefans.wefansapp.common.tool.data;

import com.wefans.wefansapp.common.tool.finals.FEATURES;

public class UrlInfo {
	
	static String getServerUrl(){
		if(FEATURES.CONNECT_DEV_SERVER == true)
			return "http://dev.api.wefansapp.com/";
		else
			return "http://api.wefansapp.com/";	

	}

	public static String getUserInfo() {
		return getServerUrl() + "my/get_user.php?";
	}		
	public static String getVote() {
	    return getServerUrl() + "studytime/get_vote.php?";
	}
	public static String getCountry() {
	    return getServerUrl() + "/app/get_country.php?";
	}
	public static String getAppVer() {
	    return getServerUrl() + "/app/get_app_ver.php?";
	}
	public static String getVoteOne() {
	    return getServerUrl() + "/studytime/get_vote_one.php?";
	}
	public static String setVote() {
	    return getServerUrl() + "/studytime/set_vote.php?";
	}
	public static String getReplyList() {
	    return getServerUrl() + "/comment/get_reply.php?";
	}
	public static String registReply() {
	    return getServerUrl() + "/comment/set_reply.php?";
	}
	
	public static String getBenefitURL() {
		return getServerUrl() + "lunchtime/get_ticket.php";
	}
	public String getBenefitDetailURL() {
		return getServerUrl() + "lunchtime/get_ticket_one.php";
	}
	public static String getBenefitResultURL() {
		return getServerUrl() + "lunchtime/get_ex_ticket.php";
	}
	public static String getBenefitUserURL() {
		return getServerUrl() + "lunchtime/get_winner.php";
	}
	public static String getBenefitVoteURL() {
		return getServerUrl() + "lunchtime/set_ticket.s3.php";
	}
}